home *** CD-ROM | disk | FTP | other *** search
- #define O 1 /* mouth munching rate */
-
- vehicle fish def {
- name "a giant flying fish"
- angle 90
- flying
- type fish
- hp 15
-
- object { /* top hemifish */
- at 100 100 60
- centre 0 -5 0
- counter
- points {
- /* first, the circumference in the x-z plane 0-17 */
- -10 0 0 -10 0 2 -8 0 6 -6 0 8 -2 0 10
- 2 0 10 6 0 8 8 0 6 10 0 2
- 10 0 0 10 0 -2 8 0 -6 6 0 -8 2 0 -10
- -2 0 -10 -6 0 -8 -8 0 -6 -10 0 -2
- /* now, the mouth 18-25 */
- -8 6 2 -4 10 4 4 10 4 8 6 2
- 8 6 2 4 10 4 -4 10 4 -8 6 2
- /* the rear circumference: a tad smaller 26-33 */
- -8 -6 0 -8 -6 2 -6 -6 6 -2 -6 8 2 -6 8 6 -6 6 8 -6 2 8 -6 0
- /* the tailfin: first, mounting points and then the fin itself
- clockwise from left (front view)
- 34-37 */
- -2 -10 0 0 -10 4 2 -10 0 0 -10 -4
- }
- oscli 18 O { - - -2 }
- oscli 19 O { - - -4 }
- oscli 20 O { - - -4 }
- oscli 21 O { - - -2 }
-
- /* front polygons */
- face 243 f { 0 1 18 }
- face 244 f { 1 2 18 }
- face 245 f { 2 3 19 18 }
- face 246 f { 3 4 19 }
- face 245 f { 4 5 20 19 }
- face 244 f { 5 6 20 }
- face 243 f { 6 7 21 20 }
- face 242 f { 7 8 21 }
- face 239 f { 8 9 21 }
- /* mouth */
- face 200 f { 0 18 19 20 21 9 }
- /* between main and rear circumferences / order is reverse */
- face 239 f { 26 27 1 0 }
- face 241 f { 27 28 2 1 }
- face 242 f { 28 3 2 }
- face 242 f { 28 29 4 3 }
- face 241 f { 29 30 5 4 }
- face 240 f { 30 31 6 5 }
- face 239 f { 31 7 6 }
- face 238 f { 31 32 8 7 }
- face 237 f { 32 33 9 8 }
- /* rear circumference to tailfin mount */
- face 235 f { 26 34 27 }
- face 237 f { 27 34 28 }
- face 238 f { 34 35 28 }
- face 239 f { 28 35 29 }
- face 241 f { 29 35 30 }
- face 240 f { 30 35 31 }
- face 238 f { 31 35 36 }
- face 236 f { 32 31 36 }
- face 234 f { 32 36 33 }
- }
-
- object { /* bottom hemifish */
- at 100 100 60
- centre 0 -5 0
- counter
- points {
- /* first, the circumference in the x-z plane 0-17 */
- -10 0 0 -10 0 2 -8 0 6 -6 0 8 -2 0 10
- 2 0 10 6 0 8 8 0 6 10 0 2
- 10 0 0 10 0 -2 8 0 -6 6 0 -8 2 0 -10
- -2 0 -10 -6 0 -8 -8 0 -6 -10 0 -2
- /* now, the mouth 18-25 */
- -8 6 -2 -4 10 -4 4 10 -4 8 6 -2
- 8 6 -2 4 10 -4 -4 10 -4 -8 6 -2
- /* the rear circumference: a tad smaller 26-33 */
- 8 -6 0 8 -6 -2 6 -6 -6 2 -6 -8 -2 -6 -8 -6 -6 -6 -8 -6 -2 -8 -6 0
- /* the tailfin: first, mounting points and then the fin itself
- clockwise from left (front view)
- 34-37
- */
- -2 -10 0 0 -10 4 2 -10 0 0 -10 -4
- }
- oscli 22 O { - - 2 }
- oscli 23 O { - - 4 }
- oscli 24 O { - - 4 }
- oscli 25 O { - - 2 }
-
- /* front polygons */
- face 237 f { 9 10 22 }
- face 236 f { 10 11 22 }
- face 234 f { 11 12 23 22 }
- face 232 f { 12 13 23 }
- face 231 f { 13 14 24 23 }
- face 232 f { 14 15 24 }
- face 234 f { 15 16 25 24 }
- face 236 f { 16 17 25 }
- face 237 f { 17 0 25 }
- /* mouth */
- face 207 f { 0 9 22 23 24 25 }
- /* between main and rear circumferences */
- face 237 f { 9 26 27 10 }
- face 235 f { 10 27 28 11 }
- face 233 f { 11 28 12 }
- face 232 f { 12 28 29 13 }
- face 234 f { 13 29 30 14 }
- face 235 f { 14 30 31 15 }
- face 236 f { 15 31 16 }
- face 238 f { 16 31 32 17 }
- face 239 f { 17 32 33 0 }
- /* rear circumference to tailfin mount */
- face 234 f { 26 36 27 }
- face 232 f { 27 36 28 }
- face 231 f { 28 36 37 }
- face 230 f { 28 37 29 }
- face 229 f { 29 37 30 }
- face 230 f { 30 37 31 }
- face 232 f { 37 34 31 }
- face 234 f { 34 32 31 }
- face 235 f { 34 33 32 }
- }
-
- object { /* left fin */
- at 100 100 60
- centre -10.5 -4.5 0
- counter
- points {
- -10 0 0 -16 -6 0 -8 -6 2 -8 -6 -2
- }
-
- face 214 f { 0 1 2 }
- face 211 f { 3 1 0 }
- face 212 f { 3 2 0 }
- }
- object { /* right fin */
- at 100 100 60
- centre 10.5 -4.5 0
- counter
- points {
- 10 0 0 16 -6 0 8 -6 2 8 -6 -2
- }
-
- face 213 f { 2 1 0 }
- face 209 f { 0 1 3 }
- face 212 f { 0 2 3 }
- }
- object { /* top fin */
- at 100 100 60
- centre 0 -4.5 10.5
- counter
- points {
- 0 0 10 0 -6 16 -2 -6 8 2 -6 8
- }
-
- face 215 f { 0 2 1 }
- face 211 f { 0 1 3 }
- face 212 f { 2 3 1 }
- }
-
- object { /* tailfin */
- at 100 100 60
- centre 0 -12 0
- counter
- points {
- -2 -10 0 0 -10 4 2 -10 0 0 -10 -4
- -4 -14 0 0 -14 8 4 -14 0 0 -14 -8
- }
- face 248 f { 4 5 1 0 }
- face 246 f { 5 6 2 1 }
- face 243 f { 6 7 3 2 }
- face 245 f { 7 4 0 3 }
- face 246 f { 7 6 5 4 }
- }
-
- }
-
-
-
-